import QtQuick 2.0

Item {

    property int itemHeight: 30

    Component{
        id: listmodel
        ListModel{

        }
    }

    Component{
        id: listdelegate
        Item {
            id: wrapper
            width: parent.width; height: itemHeight;

            MouseArea{
                anchors.fill: parent
                onClicked: {
                    wrapper.ListView.view.currentIndex = index;
                    mouse.accepted = true
                }
            }
        }
    }
}
